package com.fintech.third.dao.intbank;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fintech.third.model.intbank.IntBankCreditCard;

public interface IntBankCreditCardMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IntBankCreditCard record);

    int insertSelective(IntBankCreditCard record);

    IntBankCreditCard selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IntBankCreditCard record);

    int updateByPrimaryKey(IntBankCreditCard record);
    
    
    
    /**
     * 贷记卡信息 销户且未激活信息
     * @param serialNum
     * @return
     */
    List<IntBankCreditCard>  intBankCreditCard(@Param("serialNum") String serialNum);
    
    /**
     * 贷记卡信息 销户且未激活信息
     * @param serialNum
     * @return
     */
    List<IntBankCreditCard>  intBankCreditCardXh(@Param("serialNum") String serialNum);
    
    
    /**
     * 贷记卡信息未销户信息
     * @param serialNum
     * @return
     */
    List<IntBankCreditCard>  intBankCreditCardNXh(@Param("serialNum") String serialNum);
    
    
    
    
    
    /**
     * 根据loanId查询贷记卡信息未销户信息
     * @param serialNum
     * @return
     */
    List<IntBankCreditCard>  intBankCreditCardLoanId(@Param("loanId") String loanId);
}